<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="../../../day6jquery/jquery3.5.min.js"></script>
<body>
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
    </ul>
    <script>
        let ul = document.querySelector('ul');
        //1.node.cloneNode()括号为空或者false为浅拷贝，只复制节点不复制内容
        //2.node.clineChild(true)深拷贝 为true是深拷贝 复制里面的内容
        let li = ul.children[0].cloneNode(true)
        ul.appendChild(li)
    </script>
</body>
</html>